<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/h-ui/css/H-ui.admin.css">
    <link rel="stylesheet" href="${ctx}/libjs/plugins/h-ui/style.css">
    <script type="text/javascript" src="${ctx}/appjs/enterprise/enterpriseSubmemberApply/enterpriseSubmemberApply.js"></script>
    <style>
        .form-group img {
            cursor: pointer
        }
    </style>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return '<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>企业成员列表</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<strong>企业成员详情</strong>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
            '</li>' +
            '</ol>';
    });

</script>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <div class="columns pull-left">
                        <h5 class="font-bold">详情</h5>
                    </div>
                    <div class="ibox-tools">
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>

                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="frmEnterprise">
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">成员名称：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${submemberApply.contactName}" name="contactName" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">手机号：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${submemberApply.phone}"  name="phone" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">所属企业：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${enterprise.enterpriseName}"  name="enterpriseName" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">推荐人ID：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${submemberApply.recommenderId}"  readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">微信：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${submemberApply.nickname}" readonly>
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">生日：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="<fmt:formatDate value="${submemberApply.birthday}" pattern="yyyy-MM-dd" />" readonly>
                            </div>
                        </div>

                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">性别：</label>
                            <div class="col-sm-4">
                                <select disabled class="form-control" id="sex" name="sex">
                                    <option value="0" ${submemberApply.sex=="0"?"selected":""}>未知</option>
                                    <option value="1" ${submemberApply.sex=="1"?"selected":""}>男</option>
                                    <option value="2" ${submemberApply.sex=="2"?"selected":""}>女</option>
                                </select>
                            </div>
                        </div>

                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">通讯地址：</label>
                            <div class="col-sm-4">
                                <input type="text" class="form-control" value="${submemberApply.address}" readonly>
                            </div>
                        </div>
                        <%--<div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">是否管理员：</label>
                            <div class="col-sm-4">
                                <select disabled class="form-control" id="hasPermission" name="hasPermission" disabled>
                                    <option value="0" ${submemberApply.hasPermission=="0"?"selected":""}>否</option>
                                    <option value="1" ${submemberApply.hasPermission=="1"?"selected":""}>是</option>
                                </select>
                            </div>
                        </div>--%>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
